package com.example.group_20.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.List;

/**
 * @author: 栋
 * @data: 2023/8/11
 * @descriptions:
 */
@TableName("`group`")
public class Group {
    private int group_id;
    private String s_id;
    private String s1_id;
    private String s2_id;
    private String s3_id;
    private String s4_id;
    private String s5_id;
    private String s6_id;
    private String t_id;
    private int number;

    @TableField(exist = false)
    private List<Students> students;
    @TableField(exist = false)
    private Teachers teachers;


    public Group() {
    }

    @Override
    public String toString() {
        return "Group{" +
                "group_id=" + group_id +
                ", s_id='" + s_id + '\'' +
                ", s1_id='" + s1_id + '\'' +
                ", s2_id='" + s2_id + '\'' +
                ", s3_id='" + s3_id + '\'' +
                ", s4_id='" + s4_id + '\'' +
                ", s5_id='" + s5_id + '\'' +
                ", s6_id='" + s6_id + '\'' +
                ", t_id='" + t_id + '\'' +
                ", number=" + number +
                ", students=" + students +
                ", teachers=" + teachers +
                '}';
    }

    public Teachers getTeachers() {
        return teachers;
    }

    public void setTeachers(Teachers teachers) {
        this.teachers = teachers;
    }

    public Group(int group_id, String s_id, String s1_id, String s2_id, String s3_id, String s4_id, String s5_id, String s6_id, String t_id, int number, List<Students> students, Teachers teachers) {
        this.group_id = group_id;
        this.s_id = s_id;
        this.s1_id = s1_id;
        this.s2_id = s2_id;
        this.s3_id = s3_id;
        this.s4_id = s4_id;
        this.s5_id = s5_id;
        this.s6_id = s6_id;
        this.t_id = t_id;
        this.number = number;
        this.students = students;
        this.teachers = teachers;
    }

    public List<Students> getStudents() {
        return students;
    }

    public void setStudents(List<Students> students) {
        this.students = students;
    }

    public int getGroup_id() {
        return group_id;
    }

    public void setGroup_id(int group_id) {
        this.group_id = group_id;
    }

    public String getS_id() {
        return s_id;
    }

    public void setS_id(String s_id) {
        this.s_id = s_id;
    }

    public String getS1_id() {
        return s1_id;
    }

    public void setS1_id(String s1_id) {
        this.s1_id = s1_id;
    }

    public String getS2_id() {
        return s2_id;
    }

    public void setS2_id(String s2_id) {
        this.s2_id = s2_id;
    }

    public String getS3_id() {
        return s3_id;
    }

    public void setS3_id(String s3_id) {
        this.s3_id = s3_id;
    }

    public String getS4_id() {
        return s4_id;
    }

    public void setS4_id(String s4_id) {
        this.s4_id = s4_id;
    }

    public String getS5_id() {
        return s5_id;
    }

    public void setS5_id(String s5_id) {
        this.s5_id = s5_id;
    }

    public String getS6_id() {
        return s6_id;
    }

    public void setS6_id(String s6_id) {
        this.s6_id = s6_id;
    }

    public String getT_id() {
        return t_id;
    }

    public void setT_id(String t_id) {
        this.t_id = t_id;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

}
